/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-01-12
 * Time: 21:30
 */
public class ageComparator implements Comparator<Student>
{
    @Override
    public int compare(Object o) {
        return this.age - ((object)o.age);
    }
}
